package oop.data;



public class Answer {

	private long id;
	private String content;
	private int priority;
	private boolean correct;

	public Answer(String content, int priority, boolean correct) {
		this(0, content, priority, correct);
	}

	public Answer(int id, String content, int priority, boolean correct) {
		super();
		this.id = id;
		this.content = content;
		this.priority = priority;
		this.correct = correct;
	}

	public long getId() {
		return id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public void setCorrect(boolean correct) {
		this.correct = correct;
	}

	public boolean isCorrect() {
		return correct;
	}

}
